home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / _DateIsLeapYear.au3 < prev    next >
Text File  |  2007-09-08  |  192b  |  8 lines

  1. #include <Date.au3>
  2.  
  3. If _DateIsLeapYear( @YEAR ) Then
  4.     MsgBox( 4096, "Leap Year", "This year is a leap year." )
  5. Else
  6.     MsgBox( 4096, "Leap Year", "This year is not a leap year." )
  7. EndIf
  8.